<script setup lang="ts">
import { ref } from 'vue'


const tableData = [
  {
    wan: 1,
    qian: 0,
  },
]

const value = ref('')
const options = [
  {
    value: '0',
    label: '0',
  },
  {
    value: '1',
    label: '1',
  },
  {
    value: '2',
    label: '2',
  },
  {
    value: '3',
    label: '3',
  },
  {
    value: '4',
    label: '4',
  },
]
</script>

<template>
  <div>
    <el-table :data="tableData" style="width: 100%">
      <el-table-column label="千" width="120" align="center">
        <el-select
          v-model="value"
          clearable
          placeholder="Select"
          style="width: 80px"
        >
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          />
        </el-select>
      </el-table-column>
      <el-table-column label="百" width="120" align="center">
        <el-select
          v-model="value"
          clearable
          placeholder="Select"
          style="width: 80px"
        >
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          />
        </el-select>
      </el-table-column>
      <el-table-column label="十" width="120" align="center">
        <el-select
          v-model="value"
          clearable
          placeholder="Select"
          style="width: 80px"
        >
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          />
        </el-select>
      </el-table-column>
      <el-table-column label="个" width="120" align="center">
        <el-select
          v-model="value"
          clearable
          placeholder="Select"
          style="width: 80px"
        >
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          />
        </el-select>
      </el-table-column>
    </el-table>
  </div>
</template>

<style scoped></style>
